import * as tslib_1 from "tslib";
import { Entity, NgField, NgObject, NgEntity } from '@farris/devkit';
import { PathHierarchyInfo6125Entity } from './pathhierarchyinfo6125entity';
var DFFAdminOrganization75c3Entity = /** @class */ (function (_super) {
    tslib_1.__extends(DFFAdminOrganization75c3Entity, _super);
    function DFFAdminOrganization75c3Entity() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    tslib_1.__decorate([
        NgField({
            originalDataField: 'Organization',
            dataField: 'organization',
            primary: true,
            originalDataFieldType: 'String',
            initValue: '',
            path: 'Organization.Organization',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], DFFAdminOrganization75c3Entity.prototype, "organization", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'ID',
            dataField: 'organization_ID',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'Organization.Organization_ID',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], DFFAdminOrganization75c3Entity.prototype, "organization_ID", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'Code',
            dataField: 'organization_Code',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'Organization.Organization_Code',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [100],
                    message: '最大长度为100',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], DFFAdminOrganization75c3Entity.prototype, "organization_Code", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'Name',
            dataField: 'organization_Name',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'Organization.Organization_Name',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [1000],
                    message: '最大长度为1000',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], DFFAdminOrganization75c3Entity.prototype, "organization_Name", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'Abbreviation',
            dataField: 'organization_Abbreviation',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'Organization.Organization_Abbreviation',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [200],
                    message: '最大长度为200',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], DFFAdminOrganization75c3Entity.prototype, "organization_Abbreviation", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'FullPathName',
            dataField: 'organization_FullPathName',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'Organization.Organization_FullPathName',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [1000],
                    message: '最大长度为1000',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], DFFAdminOrganization75c3Entity.prototype, "organization_FullPathName", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'OrgType',
            dataField: 'organization_OrgType',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'Organization.Organization_OrgType',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], DFFAdminOrganization75c3Entity.prototype, "organization_OrgType", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'OwnerID',
            dataField: 'organization_OwnerID',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'Organization.Organization_OwnerID',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], DFFAdminOrganization75c3Entity.prototype, "organization_OwnerID", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'ID',
            dataField: 'organization_OwnerID_ID',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'Organization.Organization_OwnerID_ID',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], DFFAdminOrganization75c3Entity.prototype, "organization_OwnerID_ID", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'Code',
            dataField: 'organization_OwnerID_Code',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'Organization.Organization_OwnerID_Code',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [100],
                    message: '最大长度为100',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], DFFAdminOrganization75c3Entity.prototype, "organization_OwnerID_Code", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'Name',
            dataField: 'organization_OwnerID_Name',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'Organization.Organization_OwnerID_Name',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [1000],
                    message: '最大长度为1000',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], DFFAdminOrganization75c3Entity.prototype, "organization_OwnerID_Name", void 0);
    tslib_1.__decorate([
        NgObject({
            dataField: 'organization_TreeInfo',
            originalDataField: 'TreeInfo',
            hierarchyType: 'path',
            type: PathHierarchyInfo6125Entity
        }),
        tslib_1.__metadata("design:type", PathHierarchyInfo6125Entity)
    ], DFFAdminOrganization75c3Entity.prototype, "organization_TreeInfo", void 0);
    DFFAdminOrganization75c3Entity = tslib_1.__decorate([
        NgEntity({
            originalCode: "Organization",
            nodeCode: "organization"
        })
    ], DFFAdminOrganization75c3Entity);
    return DFFAdminOrganization75c3Entity;
}(Entity));
export { DFFAdminOrganization75c3Entity };
